import { Injectable } from '@angular/core';
import { Observable, of } from 'rxjs';
import {list, item} from './mock';


@Injectable({
  providedIn: 'root'
})
export class HomeService {

  constructor() { }

  getHomeList() : Observable<item[]> {
    return of(list)
  }
}
